<?php
	class content{
		
		public function showHtml(){
			echo '<div id="main">
					<div id="content">';
					
			if(isset($_GET["p"])){
				switch ($_GET["p"]){
					case "home" : include("home.php");break;
					case  "login": include("login.php");break;
					case "cadastro": include("cadastro.php");break;
					case "livros": include("livros.php");break;
					case "contato": include("contato.php");
				}
			}
			else
				include("includes/home.php");
				
			echo '</div>
				</div>';
		}
	}
?>
